<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Regionneighbors
 */
class Regionneighbors
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $whichRegion
     */
    private $whichRegion;

    /**
     * @var ORM\Dynasties2\Regions
     */
    private $regionLink;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set whichRegion
     *
     * @param integer $whichRegion
     * @return Regionneighbors
     */
    public function setWhichRegion($whichRegion)
    {
        $this->whichRegion = $whichRegion;
        return $this;
    }

    /**
     * Get whichRegion
     *
     * @return integer 
     */
    public function getWhichRegion()
    {
        return $this->whichRegion;
    }

    /**
     * Set regionLink
     *
     * @param ORM\Dynasties2\Regions $regionLink
     * @return Regionneighbors
     */
    public function setRegionLink(\ORM\Dynasties2\Regions $regionLink = null)
    {
        $this->regionLink = $regionLink;
        return $this;
    }

    /**
     * Get regionLink
     *
     * @return ORM\Dynasties2\Regions 
     */
    public function getRegionLink()
    {
        return $this->regionLink;
    }
    /**
     * @var integer $thisRegion
     */
    private $thisRegion;

    /**
     * @var integer $neighborRegion
     */
    private $neighborRegion;


    /**
     * Set thisRegion
     *
     * @param integer $thisRegion
     * @return Regionneighbors
     */
    public function setThisRegion($thisRegion)
    {
        $this->thisRegion = $thisRegion;
        return $this;
    }

    /**
     * Get thisRegion
     *
     * @return integer 
     */
    public function getThisRegion()
    {
        return $this->thisRegion;
    }

    /**
     * Set neighborRegion
     *
     * @param integer $neighborRegion
     * @return Regionneighbors
     */
    public function setNeighborRegion($neighborRegion)
    {
        $this->neighborRegion = $neighborRegion;
        return $this;
    }

    /**
     * Get neighborRegion
     *
     * @return integer 
     */
    public function getNeighborRegion()
    {
        return $this->neighborRegion;
    }
}